@import "reset.scss";

.mi-search{
    background-color: #f5f5f5;

    .container{
        width: 100%;

        .search-container{

            .container-main{
                position: relative;

                .breadcrumbs{
                    
                    .container{
                        @include container();

                        height: 40px;
                        font-size: 12px;
                        line-height: 40px;
                        background: #f5f5f5;
                        color: #757575;
                    }
                    a{
                        color: #757575;
                    }
                    span{
                        margin: 0 .2em;
                        color: #b0b0b0;
                    }
                }
                .search-filter{
                    background-color: #fff;

                    .filter-wrap{
                        @include container();
                        padding: 18px 0;

                        .filter-list{
                            position: relative;

                            .item{
                                position: relative;
                                overflow: hidden;
                                padding: 0 60px 0 124px;

                                li{
                                    display: inline-block;
                                    text-overflow: ellipsis;
                                    overflow: hidden;
                                    color: #424242;
                                    font-size: 14px;
                                    width: 140px;
                                    padding: 14px 0;
                                    height: 20px;
                                    line-height: 20px;

                                    &:hover{
                                        color: #f60;
                                    }
                                }
                                .active{
                                    color: #f60;
                                }
                                span{
                                    position: absolute;
                                    height: 20px;
                                    line-height: 20px;
                                    padding: 14px 0;
                                    font-size: 14px;
                                }
                                .label{
                                    top: 0;
                                    left: 0;
                                    color: #b0b0b0;
                                }
                                .more-btn{
                                    right: 0;
                                    top: 0;
                                    color: #757575;
                                    i{
                                        margin-left: 4px;
                                        color: #ccc;
                                        font-size: 6px;
                                    }
                                }
                            }
                            .show-less{
                                height: 48px;
                            }
                        }
                    }
                }
                .search-result{
                    padding: 20px 0 100px;

                    .reuslt-order{
                        position: relative;
                        @include container();

                        .order-list-box{
                            position: relative;
                            height: 30px;
                            margin: 20px 0;

                            .order-list{
                                float: left;
                                line-height: 30px;

                                .changePrice{
                                    .price-jt{
                                        border: solid black;
                                        border-width: 0 1px 1px 0;
                                        display: inline-block;
                                        padding: 3px;
                                    }
                                    .up{
                                        transform: rotate(-135deg);
                                        -webkit-transform: rotate(-135deg);
                                    }
                                    .down{
                                        transform: rotate(45deg);
                                        -webkit-transform: rotate(45deg);
                                    }
                                }

                                
                                li{
                                    float: left;
                                    padding: 0 30px;
                                    line-height: 20px;

                                    a{
                                        color: #424242;
                                        transition: color .2s;

                                        &:hover{
                                            color: #f60;
                                        }
                                    }
                                    .active{
                                        color: #ff6700;
                                    }
                                }
                                li+li{
                                    border-left: 1px solid #e0e0e0;
                                }
                            }
                        }
                        .goods-list-box{
                            width: 100%;

                            .goods-list{
                                width: 100%;

                                .goods-item{
                                    position: relative;
                                    float: left;
                                    width: 290px;
                                    height: 340px;
                                    margin-right: 14px;
                                    margin-bottom: 14px;
                                    text-align: center;
                                    background-color: #fff;
                                    transition: all .2s linear;

                                    &:hover{
                                        @include liShadow();
                                        color: #ff6700;
                                    }

                                    a{
                                        display: block;
                                        padding-top: 47px;
                                        height: 100%;

                                        .figure-img{
                                            width: 200px;
                                            height: 200px;
                                            margin: 0 auto 16px;

                                            img{
                                                width: 100%;
                                                height: 100%;
                                            }
                                        }
                                        .title{
                                            margin: 0 auto;
                                            width: 230px;
                                            font-size: 14px;
                                            font-weight: 400;
                                            text-overflow: ellipsis;
                                            white-space: nowrap;
                                            overflow: hidden;
                                        }
                                        .price{
                                            margin: 0 0 15px;
                                            color: #ff6700;
                                        }
                                    }
                                }
                            }
                            .noGoods{
                                padding: 60px 0;
                                text-align: center;

                                .img{
                                    width: 200px;
                                }
                                .noGoods-tit{
                                    margin: 14px 0;
                                }
                            }
                            .mi-pagenav{
                                height: 30px;
                                padding: 15px 0;
                                text-align: center;
                                display: flex;
                                justify-content: center;

                                a,span,.first,.next{
                                    display: inline-block;
                                    width: 48px;
                                    height: 24px;
                                    padding: 3px 0;
                                    margin: 0 5px;
                                    font-size: 18px;
                                    font-weight: 400;
                                    line-height: 24px;
                                    color: #b0b0b0;
                                }
                                a:hover{
                                    background-color: #b0b0b0;
                                    color: #fff;
                                    opacity: .8;
                                }
                                .first:hover{
                                    background-color: #b0b0b0;
                                    color: #fff;
                                    opacity: .8;
                                }
                                .next:hover{
                                    background-color: #b0b0b0;
                                    color: #fff;
                                    opacity: .8;
                                }
                                .active{
                                    background-color: #757575;
                                    color: #fff;
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}